package cn.sunxyz.methodinference.parser;

/**
 * Created by yangrd on 2017/5/31.
 */
public enum SQLParserManager {

    //单例
    MySQL(new MySQLParser()),
    Oracle(new OracleParser());

    private SQLParser sqlParser;

    SQLParserManager(SQLParser sqlParser) {
        this.sqlParser = sqlParser;
    }

    public SQLParser getSqlParser() {
        return sqlParser;
    }
}
